﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LdtJudge.DataEngine.Model.XMLConfigModel.CauseExtractModel
{
    /// <summary>
    /// 案由提取
    /// </summary>
    [Serializable]
    [System.Xml.Serialization.XmlRootAttribute("root")]
    public  class CauseExtractModel
    {
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("casetype")]
        public List<Casetype> CaseTypes { get; set; }
    }

    /// <summary>
    /// 案件类型
    /// </summary>
    public partial class Casetype
    {
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("booktype")]
        public List<BookType> BookTypes { get; set; }

        /// 案件类型编号
        [System.Xml.Serialization.XmlAttributeAttribute("code")]
        public string Code { get; set; }

        [System.Xml.Serialization.XmlElementAttribute("causeextract")]
        public CauseExtract CauseExtract { get; set; }
    }

    /// <summary>
    /// 文书类型
    /// </summary>
    public partial class BookType
    {
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("causeextract")]
        public CauseExtract CauseExtract { get; set; }

        /// 文书类型编号
        [System.Xml.Serialization.XmlAttributeAttribute("code")]
        public string Code { get; set; }
    }

    /// <summary>
    /// 案由提取
    /// </summary>
    public partial class CauseExtract
    {
        /// 提取模式
        [System.Xml.Serialization.XmlAttributeAttribute("extractmode")]
        public string ExtractMode { get; set; }
        

        /// 正则编号
        [System.Xml.Serialization.XmlAttributeAttribute("regexcode")]
        public string RegexCode { get; set; }
    }


}
